package com.wbsxch.shiro.service;

import java.util.List;

/**
 * @author: 快乐在角落里
 * @create: 2018-11-09 10:16
 */
public interface BaseService<T> {

    int insert(T record);

    int delete(Long id);

    int update(T record);

    List<T> selectAll(T record);

    T selectOne(Long id);
}
